package account

import (
	"orm_gin/apis/account"

	"github.com/gin-gonic/gin"
)

func AccountApi(r *gin.Engine) {
	ac := r.Group("/account")
	{
		ac.POST("/login", account.Login)
		ac.POST("/regnin", account.Regnin)
		ac.GET("/json", account.Amisjson)
	}
}
